package com.baomidou.springmvc.mapper.system;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.baomidou.springmvc.common.SuperMapper;
import com.baomidou.springmvc.model.system.Prize;

public interface PrizeMapper extends SuperMapper<Prize>{

	@Select( "SELECT * FROM prize WHERE type = #{type}")
	Prize find (@Param("type")Integer type);
}
